
clear

set matsize 2000

* ssc install mibeta 
* ssc install outreg
* net install gr0070.pkg

  

**************************************************************************************************************************************************************************************
** TABLE 1 - MAIN ANALYSIS ***********************************************************************************************************************************************************
**************************************************************************************************************************************************************************************

use TimelinePartiesMI_New.dta, clear

** TABLE 1 **

* TIMELINE 
reg log_ae daysbeforeED_0_001   
outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(1)") title("", "Legislative elections") replace

* TIMELINE + ERROR 
reg log_ae daysbeforeED_0_001 ipollse
outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(2)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PR
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr
outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(3)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PR + ENP + PARTY SIZE
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote
outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(4)") title("", "Legislative elections") merge

* TIMELINE + ERROR + ENP + PARTY SIZE + PARTY TRAITS
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc 
outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(5)") title("", "Legislative elections") merge

* INTERPOLATED 
reg log_iae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc
*outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(7, Interpolated)") title("", "Legislative elections") merge

* INTERPOLATED (PARTY CONTROLS)
reg log_iae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc, absorb(_couXpar_)
*outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(8*, Interpolated, party controls)") title("", "Legislative elections") merge

* MULTIPLE IMPUTATION 
mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc
outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(6, Multiply imputed)") title("", "Legislative elections") merge
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc

* MULTIPLE IMPUTATION (PARTY CONTROLS)
mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc, absorb(_couXpar_)
outreg using EJPR_Tab1, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(7*, Multiply imputed, party controls)") title("", "Legislative elections") merge
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc, absorb(_couXpar_)


**************************************************************************************************************************************************************************************
** FIGURE 2 - COMBINE STANDARDISED MARGINAL EFFECTS PLOTS ****************************************************************************************************************************
**************************************************************************************************************************************************************************************

* SEE SEPARATE .DO FILE

**************************************************************************************************************************************************************************************
** FIGURE 3 - COMBINE STANDARDISED MARGINAL EFFECTS PLOTS ****************************************************************************************************************************
**************************************************************************************************************************************************************************************

* SEE SEPARATE .DO FILE

**************************************************************************************************************************************************************************************
** FIGURE S3 - COMBINE NON-STANDARDISED MARGINAL EFFECTS PLOTS ***********************************************************************************************************************
**************************************************************************************************************************************************************************************

* SEE SEPARATE .DO FILE

**************************************************************************************************************************************************************************************
** SENSITIVITY CHECK - RATIO OF VOTE-POLL ERROR TO VOTE ***********************************************************************************************************************
**************************************************************************************************************************************************************************************

gen ratio=log_ae/vote_

reg ratio daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote

**************************************************************************************************************************************************************************************
** APPENDIX S2, TABLE S1 - SIGNED VOTE-POLL ERRORS (DIRECTIONAL ANALYSIS) ************************************************************************************************************
**************************************************************************************************************************************************************************************

* SEE SEPARATE .DO FILE

**************************************************************************************************************************************************************************************
** APPENDIX S2, TABLE S3 - JOHNSON-WALLACK INDEX OF PARTY CENTRICITY *****************************************************************************************************************
**************************************************************************************************************************************************************************************

* TIMELINE 
reg log_ae daysbeforeED_0_001   
outreg using EJPR_TabS4, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(1)") title("", "Legislative elections") replace

* TIMELINE + ERROR 
reg log_ae daysbeforeED_0_001 ipollse
outreg using EJPR_TabS4, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(2)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PR
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr
outreg using EJPR_TabS4, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(3)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PC
reg log_ae daysbeforeED_0_001 ipollse partycentric tk_partycentric
outreg using EJPR_TabS4, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(4)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PC
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr partycentric tk_partycentric
outreg using EJPR_TabS4, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(5)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PC + VOTE
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr partycentric tk_partycentric vote_ tk_vote
outreg using EJPR_TabS4, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(6)") title("", "Legislative elections") merge

**************************************************************************************************************************************************************************************
** APPENDIX S2, TABLE S4 - NIELSON (RANK) MEASURE OF THE PERSONAL VOTE ***************************************************************************************************************
**************************************************************************************************************************************************************************************

* TIMELINE 
reg log_ae daysbeforeED_0_001   
outreg using EJPR_TabS5, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(1)") title("", "Legislative elections") replace

* TIMELINE + ERROR 
reg log_ae daysbeforeED_0_001 ipollse
outreg using EJPR_TabS5, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(2)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PR
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr
outreg using EJPR_TabS5, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(3)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PC
reg log_ae daysbeforeED_0_001 ipollse NielsonRnk tk_NielsonRnk
outreg using EJPR_TabS5, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(4)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PC
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr NielsonRnk tk_NielsonRnk
outreg using EJPR_TabS5, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(6)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PC + VOTE
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr NielsonRnk tk_NielsonRnk vote_ tk_vote
outreg using EJPR_TabS5, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(7)") title("", "Legislative elections") merge

**************************************************************************************************************************************************************************************
** APPENDIX S2, TABLE S12 - GOVERNMENT CONTROL OF TIMING OF ELECTIONS ****************************************************************************************************************
**************************************************************************************************************************************************************************************

* GOVERNMENT CAN REQUEST ELECTIONS (NOT VIA A VOTE OF NO CONFIDENCE OR RESIGNATION OF THE GOVERNMENT)
* SEE https://www.iast.fr/sites/default/files/IAST/IAST_V1/wp/dissolution_power.pdf
* https://sites.google.com/a/nyu.edu/adam-przeworski/home/data
gen govcontrol=.
replace govcontrol=0 if election=="Presidential"

replace govcontrol=0 if country=="Germany" & election=="Legislative"
replace govcontrol=0 if country=="Norway" & election=="Legislative"
replace govcontrol=0 if country=="Spain" & election=="Legislative"
replace govcontrol=0 if country=="United States" & election=="Legislative"
replace govcontrol=0 if country=="Italy" & election=="Legislative"
replace govcontrol=0 if country=="Finland" & election=="Legislative"
replace govcontrol=0 if country=="Iceland" & election=="Legislative"
replace govcontrol=0 if country=="Sweden" & election=="Legislative"
replace govcontrol=0 if country=="Greece" & election=="Legislative"
replace govcontrol=0 if country=="Belgium" & election=="Legislative"
replace govcontrol=0 if country=="Portugal" & election=="Legislative"
replace govcontrol=0 if country=="Austria" & election=="Legislative"
replace govcontrol=0 if country=="Croatia" & election=="Legislative"
replace govcontrol=0 if country=="Malta" & election=="Legislative"
replace govcontrol=0 if country=="Switzerland" & election=="Legislative"
replace govcontrol=0 if country=="Turkey" & election=="Legislative"
replace govcontrol=0 if country=="Bulgaria" & election=="Legislative"
replace govcontrol=0 if country=="Hungary" & election=="Legislative"
replace govcontrol=0 if country=="Poland" & election=="Legislative"
replace govcontrol=0 if country=="Netherlands" & election=="Legislative"
replace govcontrol=0 if country=="Serbia" & election=="Legislative"

replace govcontrol=1 if country=="Australia" & election=="Legislative"
replace govcontrol=1 if country=="Canada" & election=="Legislative"
replace govcontrol=1 if country=="Denmark" & election=="Legislative"
replace govcontrol=1 if country=="Ireland" & election=="Legislative"
replace govcontrol=1 if country=="New Zealand" & election=="Legislative"
replace govcontrol=1 if country=="United Kingdom"  & election=="Legislative"
replace govcontrol=1 if country=="Spain"  & election=="Legislative"

gen tk_govcontrol=govcontrol*daysbeforeED_0_001

* TIMELINE + ERROR + ENP + PARTY SIZE + PARTY TRAITS

mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc
outreg using EJPR_TabS12, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(1, Multiply imputed)") title("", "Legislative elections") replace
*mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc

mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc tk_govcontrol govcontrol
outreg using EJPR_TabS12, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(2, Multiply imputed, election timing)") title("", "Legislative elections") merge
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc tk_govcontrol govcontrol

**************************************************************************************************************************************************************************************
** APPENDIX S10, RAW, INTERPOLATED, MULTIPLE INTERPOLATION ****************************************************************************************************************************
**************************************************************************************************************************************************************************************

* TIMELINE 
reg log_ae daysbeforeED_0_001   
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(1)") title("", "Legislative elections") replace

* TIMELINE + ERROR 
reg log_ae daysbeforeED_0_001 ipollse
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(2)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PR
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(3)") title("", "Legislative elections") merge

* TIMELINE + ERROR + PR + ENP + PARTY SIZE
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(4)") title("", "Legislative elections") merge

* TIMELINE + ERROR + ENP + PARTY SIZE + PARTY TRAITS
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc 
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(5)") title("", "Legislative elections") merge

* TIMELINE + ERROR + ENP + PARTY TRAITS
reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc 
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(6)") title("", "Legislative elections") merge

* INTERPOLATED 
reg log_iae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**) starlevels(1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(7, Interpolated)") title("", "Legislative elections") merge

* MULTIPLE IMPUTATION 
mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(8, Multiply imputed)") title("", "Legislative elections") merge
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc

* MULTIPLE IMPUTATION (PARTY CONTROLS)
mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc, absorb(_couXpar_)
outreg using EJPR_TabS10, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(9, Multiply imputed, party controls)") title("", "Legislative elections") merge
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc, absorb(_couXpar_)

**************************************************************************************************************************************************************************************
** APPENDIX S6 - ENPP - ELECTION VOTE VS. DAYS 1-182, 183-365 ************************************************************************************************************************
**************************************************************************************************************************************************************************************

*EFFECTIVE NUMBER OF POLITICAL PARTIES BY ELECTION CYCLE (1st & 2nd HALF)

foreach x of numlist 1/17 { 
gen lvote_`x' = lvote_ if(partyid==`x')
}

foreach x of numlist 1/17 { 
bysort _couXlegXele_: egen Zlvote_`x'=max(lvote_`x')
}

foreach x of varlist Zlvote_* { 
replace `x' = 0 if(`x' == .) 
}

foreach x of varlist Zlvote_* { 
replace `x' = `x'/100
}

foreach x of varlist Zlvote_* { 
gen enpp_lv`x'=`x'^2
}

egen enpp_sum_lv=rowtotal(enpp_lvZ*)

gen enpp_lvote=1/enpp_sum_lv

replace enpp_lvote=. if enpp_lvote>20

gen tk_lvote_=lvote_*daysbeforeED_0_001
gen tk_enpp_lvote_=enpp_lvote*daysbeforeED_0_001

mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp_lvote tk_enpp_lvote_ lvote_ tk_lvote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc
outreg using EJPR_TabS6, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(1, ENP: Election vote)") title("", "Legislative elections") replace
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp lvote_ tk_lvote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc

**************************************************************************************************************************************************************************************
** APPENDIX S13 - DROP COUNTRIES WITH 3 OR FEWER ELECTIONS ****************************************************************************************************************************
**************************************************************************************************************************************************************************************

gen sampleA=.
gen sampleB=.

replace sampleA=1 if country == "Austria"
replace sampleA=1 if country == "Belgium"
replace sampleA=1 if country == "Croatia"
replace sampleA=1 if country == "Finland"
replace sampleA=1 if country == "Greece"
replace sampleA=1 if country == "Hungary"
replace sampleA=1 if country == "Iceland"
replace sampleA=1 if country == "Italy"
replace sampleA=1 if country == "Malta"
replace sampleA=1 if country == "Poland"
replace sampleA=1 if country == "Serbia"
replace sampleA=1 if country == "Switzerland"
replace sampleA=1 if country == "Turkey"

replace sampleB=1 if sampleA==.

****************************************************************************************************************
*** SAMPLE A: COUNTRIES WITH FEWER THAN THREE ELECTIONS ********************************************************
****************************************************************************************************************

* MULTIPLE IMPUTATION 
mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc if sampleA==1
outreg using EJPR_TabS13, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(1, Multiply imputed, <3 elections)") title("", "Legislative elections") replace
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc if sampleA==1

****************************************************************************************************************
*** SAMPLE B: COUNTRIES WITH THREE ELECTIONS OR MORE ***********************************************************
****************************************************************************************************************

* MULTIPLE IMPUTATION 
mi estimate, post dots: reg log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc if sampleB==1
outreg using EJPR_TabS13, se bdec(3) sigsymb(*,**,***) starlevels(5 1 .1) summstat(N \ r2 \ r2_a) summtitle(N \ R-squared \ Adjusted R-squared) ctitle("", "(2, Multiply imputed, 3+ elections)") title("", "Legislative elections") merge
mibeta log_ae daysbeforeED_0_001 ipollse pr tk_pr enpp tk_enpp vote_ tk_vote partyold tk_partyold niche tk_niche gov_ tk_gov inc tk_inc if sampleB==1





